import api from "@/api/api";
var resUrl, demandUrl;
export default class {
  constructor(appConfig) {
    resUrl = appConfig.getResUrl();
    demandUrl = appConfig.getDemandUrl();
  }

  /**
   * 获取资源文件中对应的Url
   */
  getResUrl(url) {
    return resUrl + url;
  }
}